package com.steak.bootactivemq.mapper;

import com.steak.bootactivemq.entity.Opt;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OptMapper {

    @Insert("INSERT INTO opt(opt_code,name) VALUES(#{opt_code},#{name})")
    public void register(String opt_code , String name);
}
